package com.yangxiangrice.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yangxiangrice.pojo.UserList;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserListService extends IService<UserList> {
    Boolean changePwd(Integer userId, String passwd,  String salt);

    IPage<UserList> seletePage(IPage<UserList> page, QueryWrapper wrapper);

    Integer getAdminNum();

    Integer getFarmerNum();

}
